type reflect.rtype
56 uses
reflect (current package)
makefunc.go#L107: ftyp := (*funcType)(unsafe.Pointer(v.Type().(*rtype)))
type.go#L289: type rtype struct {
type.go#L293: func (t *rtype) common() *abi.Type {
type.go#L297: func (t *rtype) uncommon() *abi.UncommonType {
type.go#L525: func (t *rtype) nameOff(off aNameOff) abi.Name {
type.go#L529: func (t *rtype) typeOff(off aTypeOff) *abi.Type {
type.go#L533: func (t *rtype) textOff(off aTextOff) unsafe.Pointer {
type.go#L541: func (t *rtype) String() string {
type.go#L549: func (t *rtype) Size() uintptr { return t.t.Size() }
type.go#L551: func (t *rtype) Bits() int {
type.go#L562: func (t *rtype) Align() int { return t.t.Align() }
type.go#L564: func (t *rtype) FieldAlign() int { return t.t.FieldAlign() }
type.go#L566: func (t *rtype) Kind() Kind { return Kind(t.t.Kind()) }
type.go#L568: func (t *rtype) exportedMethods() []abi.Method {
type.go#L576: func (t *rtype) NumMethod() int {
type.go#L584: func (t *rtype) Method(i int) (m Method) {
type.go#L612: m.Func = Value{&mt.(*rtype).t, fn, fl}
type.go#L618: func (t *rtype) MethodByName(name string) (m Method, ok bool) {
type.go#L650: func (t *rtype) PkgPath() string {
type.go#L665: func (t *rtype) Name() string {
type.go#L688: func (t *rtype) ChanDir() ChanDir {
type.go#L696: func toRType(t *abi.Type) *rtype {
type.go#L697: return (*rtype)(unsafe.Pointer(t))
type.go#L708: func (t *rtype) Elem() Type {
type.go#L712: func (t *rtype) Field(i int) StructField {
type.go#L720: func (t *rtype) FieldByIndex(index []int) StructField {
type.go#L728: func (t *rtype) FieldByName(name string) (StructField, bool) {
type.go#L736: func (t *rtype) FieldByNameFunc(match func(string) bool) (StructField, bool) {
type.go#L744: func (t *rtype) Key() Type {
type.go#L752: func (t *rtype) Len() int {
type.go#L760: func (t *rtype) NumField() int {
type.go#L768: func (t *rtype) In(i int) Type {
type.go#L776: func (t *rtype) NumIn() int {
type.go#L784: func (t *rtype) NumOut() int {
type.go#L792: func (t *rtype) Out(i int) Type {
type.go#L800: func (t *rtype) IsVariadic() bool {
type.go#L1179: return toRType(t.(*rtype).ptrTo())
type.go#L1182: func (t *rtype) ptrTo() *abi.Type {
type.go#L1238: func (t *rtype) Implements(u Type) bool {
type.go#L1248: func (t *rtype) AssignableTo(u Type) bool {
type.go#L1256: func (t *rtype) ConvertibleTo(u Type) bool {
type.go#L1263: func (t *rtype) Comparable() bool {
type.go#L1592: return ch.(*rtype)
type.go#L1738: Type: ArrayOf(n, TypeOf(&rtype{})),
type.go#L1767: args := unsafe.Slice((**rtype)(unsafe.Pointer(o.Field(1).Addr().Pointer())), n)[0:0:n]
type.go#L1773: t := in.(*rtype)
type.go#L1782: t := out.(*rtype)
type.go#L2021: func (t *rtype) gcSlice(begin, end uintptr) []byte {
type.go#L2673: array.Slice = &(SliceOf(elem).(*rtype).t)
value.go#L2627: return (*rtype)(noescape(unsafe.Pointer(v.typ_))) // inline of toRType(v.typ()), for own inlining in inline test
value.go#L2960: typ *rtype // channel type
value.go#L3147: s := unsafeheader.Slice{Data: unsafe_NewArray(&(typ.Elem().(*rtype).t), cap), Len: len, Cap: cap}
value.go#L3148: return Value{&typ.(*rtype).t, unsafe.Pointer(&s), flagIndir | flag(Slice)}
value.go#L3224: t := &typ.(*rtype).t
value.go#L3250: t := &typ.(*rtype).t
value.go#L3265: t := typ.(*rtype)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |